package com.meida.module.bus.client.entity;

import java.math.BigDecimal;

import com.baomidou.mybatisplus.annotation.TableName;
import com.meida.common.mybatis.base.entity.AbstractEntity;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import com.meida.common.mybatis.annotation.TableAlias;

/**
 * 商品扩展 公共信息goods从表，扩展会员卡信息
 *
 * @author flyme
 * @date 2022-03-01
 */
@Data
@Accessors(chain = true)
@TableName("bus_vipcard")
@TableAlias("vipcard")
@ApiModel(value = "BusVipcard对象", description = "商品扩展 公共信息goods从表，扩展会员卡信息")
public class BusVipcard {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "主键")
    @TableId(value = "vipcardId", type = IdType.ASSIGN_ID)
    private Long vipcardId;

    @ApiModelProperty(value = "卡分类")
    private Long vipcardCategoryId;

    @ApiModelProperty(value = "卡种编号")
    private String vipCardNumber;

    @ApiModelProperty(value = "续卡价格")
    private BigDecimal newPrice;

    @ApiModelProperty(value = "卡协议")
    private String agreement;

    @ApiModelProperty(value = "计费方式（1期间卡 2计次卡）")
    private Integer billingWay;

    @ApiModelProperty(value = "权益简介")
    private String vipcardDesc;

    @ApiModelProperty(value = "卡号前缀")
    private String prefixNo;

    @ApiModelProperty(value = "卡号后缀")
    private String suffixNo;

    @ApiModelProperty(value = "卡号公共(几个0)")
    private Integer commonNo;

    @ApiModelProperty(value = "（续卡卡种（1是，2不是））")
    private Integer isContinue;

    @ApiModelProperty(value = "是否包含区域号（卡号规则1包含,2不包含）")
    private Integer isContainArea;

    @ApiModelProperty(value = "(初次推荐卡种(1是，2否）)")
    private Integer firstRecommend;

    @ApiModelProperty(value = "会员卡排序")
    private Integer vipcardSort;

    @ApiModelProperty(value = "购买时发短信根据使用哪个公众号进行发短信")
    private Long useWeChatId;

    @ApiModelProperty(value = "去掉前缀后缀区域号的最大部分")
    private String maxVipcardNo;

    @ApiModelProperty(value = "是否同步会员到机票（0不同步,1同步）")
    private Integer isSyncVip;

    @ApiModelProperty(value = "(是否可以带人1可以，2不可以)针对卡")
    private Integer isTakePeople;

    @ApiModelProperty(value = "是否是体验卡种（0不是，1是）")
    private Integer isTiyan;

}
